package pattern.observer;

public class Client {
    public static void main(String[] args) {
        ConcreteSubject subject=new ConcreteSubject();
        Observer observer1=new Observer1(subject);
        Observer observer2=new Observer2(subject);

        subject.changeInfo("你好咯");
    }
}
